package com.cy.demo1.mapper;

import com.cy.demo1.entity.Data;

public interface DataMapper {
    /**
     *
     * @param projectName
     * @return
     */
    Data findByProjectName(String projectName);

    /**
     *
     * @param data
     * @return
     */
    Integer upload(Data data);

    /**
     *
     * @return
     */
    Data listProject(Integer projectId);

    Integer getMax();

    Integer calculateProject();
}
